package com.corning.order.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.corning.common.utils.PageUtils;
import com.corning.common.utils.Query;

import com.corning.order.dao.FlowChartDao;
import com.corning.order.entity.FlowChartEntity;
import com.corning.order.service.FlowChartService;


@Service("flowChartService")
public class FlowChartServiceImpl extends ServiceImpl<FlowChartDao, FlowChartEntity> implements FlowChartService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<FlowChartEntity> page = this.page(
                new Query<FlowChartEntity>().getPage(params),
                new QueryWrapper<FlowChartEntity>()
        );

        return new PageUtils(page);
    }

}